<%@ page language="java" import="java.util.*" pageEncoding="utf8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>特色情小吃</title>
  </head>
  
  <body>
  <table align="center">
  <tr><td>
  	<c:forEach items="${snakeOrTechanImageList}" var="snakeImage" varStatus="var">
			<c:if test="${var.last}">
		  		<img alt="" src="${website}resource/${snakeImage.imageUrl}" />
			</c:if>
  	</c:forEach></td>
  	<td>
	<c:out value="${snackOrTechanTpyeDesc}"></c:out>
		
		</tr>
		</td>
		<tr><td colspan="2">
		<table border="1" ><tr>
				<c:forEach items="${snakeOrTechanList}" var="snack" varStatus="status">
					
					<td>
					<a href="show_getFoodDetail.action?foodId=${snack.foodId}">
					<img alt="" src="${website}resource/${snack.imageUrl}" height="150" width="250" /><br/>
					<c:out value="${snack.name}"/></a></td>
					<c:if test="${status.count%4 == 0}">
						</tr><tr>
					</c:if>		
					<c:if test="${status.last}">
					<c:if test="${status.count%4 != 0}">
						<c:forEach begin="1" end="${4-status.count%4}"><td>dddd</td> </c:forEach>
					</c:if>
					</c:if>
				</c:forEach>
				</tr>
				</table>
				</td></tr>
	</table>
  </body>
</html>
